package com.dong.demo222.mapper;


import com.dong.demo222.domin.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
public interface SysUserMapper
{


    public SysUser selectUserByUsername(@Param("userName") String userName);

    @Select("select * from sys_user where user_name=#{userName}")
    public SysUser selectUserByUsername2(@Param("userName") String userName);


    List<SysUser> selectUserList(SysUser user);
}
